package com.base.domain;

import java.util.*;

import com.base.bean.*;


public class ClientDetail {
	private Integer cid;
	private ClientBase clientBase;
	private ClientExtend ClientExtend;
	private List<ClientPhone> clientPhones;
	
	//以下是自定义字段
	private float sellPlanRate;
	private Integer orderId;
	
	public ClientBase getClientBase() {
		return clientBase;
	}
	public void setClientBase(ClientBase clientBase) {
		this.clientBase = clientBase;
	}
	public ClientExtend getClientExtend() {
		return ClientExtend;
	}
	public void setClientExtend(ClientExtend clientExtend) {
		ClientExtend = clientExtend;
	}
	
	public float getSellPlanRate() {
		return sellPlanRate;
	}
	public void setSellPlanRate(float sellPlanRate) {
		this.sellPlanRate = sellPlanRate;
	}
	public List<ClientPhone> getClientPhones() {
		return clientPhones;
	}
	public void setClientPhones(List<ClientPhone> clientPhones) {
		this.clientPhones = clientPhones;
	}
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getPhoneStr(){
		String str="";
		for(int i=0;i<this.getClientPhones().size();i++){
			str= str + this.getClientPhones().get(i).getPhone()+" ";
		}
		return str;
	}

	
	

}
